package com.project.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class GetCurrentTime {
	public static String getNow(){
		Date time=new Date();
		   SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
		   String now = dateFormat.format(time); 
		   return now;
	}
	
   public static String curTimeStamp() {
	String time=new Date().getTime()+"";
	return time;
}
   
}
